package com.usian;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

public class MessageConsumer2  implements MessageListener {

    public void onMessage(Message message) {
        System.out.println("接收到的消息==》2"+new String(message.getBody()));

    }
}
